Skip to content

GCP Pub/Sub expansion#3374

Closed
cursor[bot] wants to merge 1 commit intomainfrom
cursor/gcp-pub-sub-expansion-675c
Closed

GCP Pub/Sub expansion#3374
cursor[bot] wants to merge 1 commit intomainfrom
cursor/gcp-pub-sub-expansion-675c

Conversation

@cursor
Copy link

@cursor cursor bot commented Mar 5, 2026

feat: expand GCP integration with Pub/Sub publish and subscribe capabilities.

This PR implements issue #3095 by adding two new components to the existing GCP integration: gcp.pubsub.publishMessage (Action) for publishing messages to a Pub/Sub topic and gcp.pubsub.onTopicMessage (Trigger) for listening to messages on a specified topic.


Open in Web Open in Cursor 

Add two new GCP Pub/Sub components:

- gcp.pubsub.publishMessage: Publish messages to a Pub/Sub topic in
  JSON or text format. Uses the GCP Pub/Sub REST API.

- gcp.pubsub.onTopicMessage: Trigger workflows when messages arrive
  on a user-specified Pub/Sub topic. Creates a push subscription that
  delivers messages to the SuperPlane events endpoint.

Backend changes:
- pkg/integrations/gcp/pubsub/publish_message.go: PublishMessage component
- pkg/integrations/gcp/pubsub/on_topic_message.go: OnTopicMessage trigger
- pkg/integrations/gcp/pubsub/client.go: Publish and ListTopics API methods
- pkg/integrations/gcp/gcp.go: Register components, add /events/pubsub handler
- pkg/integrations/gcp/common/common.go: EventsBaseURL in Metadata
- Tests for all new code

Frontend changes:
- web_src/src/pages/workflowv2/mappers/gcp/publish_message.ts
- web_src/src/pages/workflowv2/mappers/gcp/on_topic_message.ts
- web_src/src/pages/workflowv2/mappers/gcp/index.ts: Register mappers

Closes #3095
@cursor
Copy link
Author

cursor bot commented Mar 5, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@superplanehq-integration
Copy link

👋 Commands for maintainers:

  • /sp start - Start an ephemeral machine (takes 3m)
  • /sp stop - Stop a running machine (auto-executed on pr close)

@shiroyasha
Copy link
Collaborator

/sp start

@superplanehq-integration
Copy link

We hit the limit for ephemeral machine. Stop some running ones.

@shiroyasha
Copy link
Collaborator

/sp start

2 similar comments
@shiroyasha
Copy link
Collaborator

/sp start

@shiroyasha
Copy link
Collaborator

/sp start

@superplanehq-integration
Copy link

✅ Ready.

Web: https://pr-3374.ephemeral.superplane.com
SSH: ssh -o StrictHostKeyChecking=no app@pr-3374.ephemeral.superplane.com
Logs: ssh -o StrictHostKeyChecking=no app@pr-3374.ephemeral.superplane.com 'cd superplane && make dev.logs.app'

@shiroyasha
Copy link
Collaborator

/sp stop

1 similar comment
@shiroyasha
Copy link
Collaborator

/sp stop

@superplanehq-integration
Copy link

✅ Ephemeral machine has been terminated.

@shiroyasha
Copy link
Collaborator

/sp start

@superplanehq-integration
Copy link

✅ Ready.

Web: https://pr-3374.ephemeral.superplane.com
SSH: ssh -o StrictHostKeyChecking=no app@pr-3374.ephemeral.superplane.com
Logs: ssh -o StrictHostKeyChecking=no app@pr-3374.ephemeral.superplane.com 'cd superplane && make dev.logs.app'

@shiroyasha
Copy link
Collaborator

/sp stop

@superplanehq-integration
Copy link

✅ Ephemeral machine has been terminated.

@shiroyasha shiroyasha closed this Mar 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants